package com.company.cloud.product.modules.base.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.company.cloud.common.bean.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 4_商品SKU信息表 
 * </p>
 *
 * @author anros
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("prd_sku_info")
public class SkuInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * SKU商品号
     */
     @ApiModelProperty(value = "SKU商品号")
    @TableId(value = "sku_no", type = IdType.INPUT)
      private String skuNo;

    /**
     * 主SKU商品号
     */
     @ApiModelProperty(value = "主SKU商品号")
      private String mainSkuNo;

    /**
     * 商品编号
     */
     @ApiModelProperty(value = "商品编号")
      private String productNo;

    /**
     * 图片
     */
     @ApiModelProperty(value = "图片")
      private String img;

    /**
     * 规格值
     */
     @ApiModelProperty(value = "规格值")
      private String specificationValues;

    /**
     * 成本价
     */
     @ApiModelProperty(value = "成本价")
      private BigDecimal cost;

    /**
     * 市场价
     */
     @ApiModelProperty(value = "市场价")
      private BigDecimal marketPrice;

    /**
     * 销售价
     */
     @ApiModelProperty(value = "销售价")
      private BigDecimal price;

    /**
     * 是否默认
     */
     @ApiModelProperty(value = "是否默认")
      private String isDefault;

    /**
     * 兑换积分
     */
     @ApiModelProperty(value = "兑换积分")
      private Integer exchangePoint;

    /**
     * 赠送积分
     */
     @ApiModelProperty(value = "赠送积分")
      private Integer rewardPoint;

    /**
     * 创建人
     */
     @ApiModelProperty(value = "创建人")
      private Integer cman;

    /**
     * 修改人
     */
     @ApiModelProperty(value = "修改人")
      private Integer eman;

    /**
     * 创建时间
     */
     @ApiModelProperty(value = "创建时间")
      private LocalDateTime cdt;

    /**
     * 修改时间
     */
     @ApiModelProperty(value = "修改时间")
      private LocalDateTime edt;

    /**
     * 创建人IP
     */
     @ApiModelProperty(value = "创建人IP")
      private String cip;

    /**
     * 修改人IP
     */
     @ApiModelProperty(value = "修改人IP")
      private String eip;


}
